<template>
  <div class="movie-container">
    <h3>Movie 组件</h3>
    <router-link to="/movie/tab1">tab1</router-link>
    <router-link to="/movie/tab2">tab2</router-link>
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  name: 'Movie',
  created() {
    console.log(this.$route.params.id)
  }
}
</script>

<style lang="less" scoped>
.movie-container {
  min-height: 200px;
  background-color: lightsalmon;
  padding: 15px;
}
</style>
